package com.miaoxun.service.timer.quartz.job;

import com.miaoxun.common.log.LogHelper;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.stereotype.Component;
//import org.springframework.messaging.simp.SimpMessagingTemplate;

/**
 * job
 */

@Component
public class MsgJob implements MeJob {
//    @Autowired
//    SimpMessagingTemplate template;

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        LogHelper.INFO("quartz{}", "quartz", "quartz");
//         template.convertAndSend("/topic/index", "test");

    }
}
